package fields;

import java.awt.geom.Point2D;

public class PowerPoint extends Point2D.Double {
    private final double power;

    public PowerPoint(Point2D.Double point, double power) {
        super(point.x, point.y);
        this.power = power;
    }

    public PowerPoint(double x, double y, double power) {
        super(x, y);
        this.power = power;
    }

    public double getPower() {
        return power;
    }
}
